package gds.gui;

import java.awt.Container;
import java.awt.Image;
import java.awt.Window;

import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;




public class versuchFrame extends JFrame{

	private versuchxXx mypanel;
	private versuchImagePanel imagePanel;
	
	private Container c;
	
	private JFrame frame = new JFrame();
	private JFrame frame1 = new JFrame();
	
	public versuchFrame(String titel){
		super(titel);
		init();
		init2();
	}
	
	public void init() {
		
		c = getContentPane();  
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		
		mypanel = new versuchxXx();
		c.add(mypanel);
		
	
	   pack();
	   setVisible(true); 
	}
	
	public void init2(){
		
		imagePanel = new versuchImagePanel();
		frame1.add(imagePanel);
		frame1.pack();
		frame1.setVisible(true);
	}
}
